function deleteInfo(info_customer_carcode){
		
	if(confirm("是否删除大架号："+info_customer_carcode+"的维修信息？")){
		$.post(
				"/ssm-amms/Info/removeInfoByCarcode.action",
				"info_customer_carcode="+info_customer_carcode,
				function (res){
				if(res){
					alert("删除成功");
					location.reload();
				}else{
					alert("删除失败！");
					
				}
				
			}
		
		
		);
		
	}
	
	
}
	/* 给定位到要修改的用户框给值 */
	function showInfo(info_customer_carcode){
		
		$.post(
			"/ssm-amms/Info/showInfo.action",
			"info_customer_carcode="+info_customer_carcode,
			function (res){
			$("#edit_info_customer_carcode").val(res.info_customer_carcode);
			$("#edit_info_state").val(res.info_state);		
					
			
					}
			
			
		);
		
	}

	
	/* 修改维修信息 */
	function editInfo(){
		
		$.post(
				"/ssm-amms/Admin/changeInfo.action",
				$("#edit_info_form").serialize(),
				function (res){
					if(res){
						alert("修改成功");
						location.reload();
						
					}else{
						
						alert("修改失败！");
					}
					
				}
		
		
		)
		
	}
